package com.oocl.reservedparkingsystembackend.mapper;

import com.oocl.reservedparkingsystembackend.model.dto.ParkingSpaceResponse;
import com.oocl.reservedparkingsystembackend.model.entity.ParkingSpace;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = "spring")
public interface ParkingSpaceMapper {
    ParkingSpaceMapper INSTANCE = Mappers.getMapper(ParkingSpaceMapper.class);

    ParkingSpaceResponse toParkingSpaceResponse(ParkingSpace parkingSpace);
}
